﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.RequestModels.Brand;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface IBrandBusiness
    {
        /// <summary>
        ///  查询全部品牌信息
        /// </summary>
        /// 
        Task<Tuple<List<brand_msg>, int>> GetBrandList(QueryDataParame query);
        /// <summary>
        ///  编辑品牌信息
        /// </summary>
        /// 
        Task<Message> PutBrandInfo(DtoBrandInfo request);
        /// <summary>
        ///  添加品牌信息
        /// </summary>
        /// 
        Task<Message> PostBrandInfo(DtoBrandInfo request);
        /// <summary>
        ///  删除品牌信息
        /// </summary>
        /// 
        Task<Message> DeleteBrandInfo(int id);
        /// <summary>
        ///  查询全部序列信息
        /// </summary>
        /// 
        Task<Tuple<List<series_msg>, int>> GetSequenceInfo(QueryDataParame query);
        /// <summary>
        ///  编辑序列信息
        /// </summary>
        /// 
        Task<Message> PutSequenceInfo(DtoSequenceInfo request);
        /// <summary>
        ///  添加序列信息
        /// </summary>
        /// 
        Task<Message> PostSequenceInfo(DtoSequenceInfo request);
        /// <summary>
        ///  删除序列信息
        /// </summary>
        /// 
        Task<Message> DeleteSequenceInfo(int id);
        /// <summary>
        ///  查询全部平台信息
        /// </summary>
        /// 
        Task<Tuple<List<platform_msg>, int>> GetPlatformInfo(QueryDataParame query);
        /// <summary>
        ///  编辑平台信息
        /// </summary>
        /// 
        Task<Message> PutPlatformInfo(DtoPlatformInfo request);
        /// <summary>
        ///  添加平台信息
        /// </summary>
        /// 
        Task<Message> PostPlatformInfo(DtoPlatformInfo request);
        /// <summary>
        ///  删除平台信息
        /// </summary>
        /// 
        Task<Message> DeletePlatformInfo(int id);
    }
}
